package com.xinli.common.core.domain.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author: zhaoyongke
 * @create: 2024-05-30 11:23
 * @description: register
 */
@Data
public class ForgetPassWordBody {
    //手机号
    @NotBlank(message = "手机号不能为空")
    @Size(min = 13, max = 13, message = "不能超过13个字符")
    private String phone;

    // 验证码
    @NotBlank(message = "验证码不能为空")
    private String code;
    // 密码
    @NotBlank(message = "密码不能为空")
    private String password;





}
